#ifndef QTAV_AUDIORESAMPLER_P_H
#define QTAV_AUDIORESAMPLER_P_H

#include <QtAV/AudioFormat.h>
#include <QtAV/QtAV_Compat.h>
#include <QtCore/QByteArray>

namespace QtAV {

class AudioResampler;
class AudioResamplerPrivate : public DPtrPrivate<AudioResampler>
{
public:
    AudioResamplerPrivate():
        in_samples_per_channel(0)
      , out_samples_per_channel(0)
      , speed(1.0)
    {
        in_format.setSampleFormat(AudioFormat::SampleFormat_Unknown);
        out_format.setSampleFormat(AudioFormat::SampleFormat_Float);
    }

    int in_samples_per_channel, out_samples_per_channel;
    qreal speed;
    AudioFormat in_format, out_format;
    QByteArray data_out;
};

} //namespace QtAV

#endif // QTAV_AUDIORESAMPLER_P_H
